<include file="Public:header2"/>

			<div class="gybanner">
				<img src="{$thumb}" width="860" height="350" />
			</div>
			<div class="clear"></div>
		</div>
		<!--各园header-->
		<!--各园gyerpai-->
		<div class="gyerpai">
			<div class="gyerpaiz">
				<div class="gyerpaiz_t" id="yuefen">
				{$yue}
				</div>
				<div class="gyerpaiz_n" id="colee">
						<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=17" id="sxid">
						</Joyeasy:list>					
					<div id="colee1">
						<Joyeasy:list sql="SELECT * FROM `yey_shouxing` where catid=$sxid[id] and yue=$yue" id="sx">
							<p>
								<div class="gyerpaiz_n_li">
									<img src="{$sx.thumb}" width="158" height="100" />
								</div>
							
							</p>
						</Joyeasy:list>					
					</div>
					<div id="colee2"></div>
					<div id="colee3"></div>
				</div>
				<script>
				var speed=30;
				var colee3=document.getElementById("colee3");
				var colee2=document.getElementById("colee2");
				var colee1=document.getElementById("colee1");
				var colee=document.getElementById("colee");
				colee2.innerHTML=colee1.innerHTML; //克隆colee1为colee2
				colee3.innerHTML=colee1.innerHTML; //克隆colee1为colee3
				function Marquee1(){
				//当滚动至colee1与colee2交界时
				if(colee2.offsetTop-colee.scrollTop<=0){
				 colee.scrollTop-=colee1.offsetHeight; //colee跳到最顶端
				 }else{
				 colee.scrollTop++
				}
				}
				var MyMar1=setInterval(Marquee1,speed)//设置定时器
				//鼠标移上时清除定时器达到滚动停止的目的
				colee.onmouseover=function() {clearInterval(MyMar1)}
				//鼠标移开时重设定时器
				colee.onmouseout=function(){MyMar1=setInterval(Marquee1,speed)}
				function Marquee2(){
				//当滚动至colee1与colee2交界时
				if(colee3.offsetTop-colee.scrollTop<=0){
				 colee.scrollTop-=colee2.offsetHeight; //colee跳到最顶端
				 }else{
				 colee.scrollTop++
				}
				}
				var MyMar2=setInterval(Marquee2,speed)//设置定时器
				//鼠标移上时清除定时器达到滚动停止的目的
				colee.onmouseover=function() {clearInterval(MyMar2)}
				//鼠标移开时重设定时器
				colee.onmouseout=function(){MyMar2=setInterval(Marquee2,speed)}
				</script>
				<!--向上滚动代码结束-->
				<div class="clear"></div>
			</div>
			<div class="gyerpaiy">
				<div class="gyerpaiy_tu">
					<img src="{$jieshaotu}" width="212" height="156" />
				</div>
				<div class="gyerpaiy_zi">
					{$jieshao}
				</div>
				<div class="gyerpaiy_shu">
				
				</div>
				<div class="gyerpaix">
					<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=16" id="hjid">
					</Joyeasy:list>					
					<Joyeasy:list sql="SELECT * FROM `yey_texiaotu` where catid=$hjid[id] order by listorder asc,id desc limit 0,8" id="hj">	
						<div class="gyerpaix_li">
							<img src="{$hj.thumb}" width="147" height="94" />
						</div>
					</Joyeasy:list>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
		<!--各园gyerpai-->
		<!--各园gysanpai-->
		<div class="gysanpai">
			<div class="xiaomupai">
				<div class="xiaomupais">
					{$dianhua}
				</div>
				<div class="xiaomupaix">
					<img src="../Public/img/xiaoche.png" />
				</div>
				<div class="clear"></div>
			</div>
			<div class="gyhuodong" id="colee222" style="overflow:hidden;">
				<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=14" id="hdid">
				</Joyeasy:list>					
				<div id="colee21">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 0,60" id="hd">
						<div class="gyhuodong_li">
							<a href="{$hd.url}" target="_blank">- {$hd.createtime|toDate=###,'Y-m-d'} : {$hd.title|str_cut=###,14}</a>
						</div>
					</Joyeasy:list>					
				</div>					
				<div id="colee22"></div>
				<div id="colee23"></div>
			</div>
				<script>
				var speed=30;
				var colee23=document.getElementById("colee23");
				var colee22=document.getElementById("colee22");
				var colee21=document.getElementById("colee21");
				var colee222=document.getElementById("colee222");
				colee22.innerHTML=colee21.innerHTML; //克隆colee21为colee22
				colee23.innerHTML=colee21.innerHTML; //克隆colee21为colee23
				function Marquee21(){
				//当滚动至colee21与colee22交界时
				if(colee22.offsetTop-colee222.scrollTop<=0){
				 colee222.scrollTop-=colee21.offsetHeight; //colee跳到最顶端
				 }else{
				 colee222.scrollTop++
				}
				}
				var MyMar21=setInterval(Marquee21,speed)//设置定时器
				//鼠标移上时清除定时器达到滚动停止的目的
				colee.onmouseover=function() {clearInterval(MyMar21)}
				//鼠标移开时重设定时器
				colee.onmouseout=function(){MyMar21=setInterval(Marquee21,speed)}
				function Marquee22(){
				//当滚动至colee1与colee2交界时
				if(colee23.offsetTop-colee222.scrollTop<=0){
				 colee222.scrollTop-=colee22.offsetHeight; //colee跳到最顶端
				 }else{
				 colee222.scrollTop++
				}
				}
				var MyMar22=setInterval(Marquee22,speed)//设置定时器
				//鼠标移上时清除定时器达到滚动停止的目的
				colee.onmouseover=function() {clearInterval(MyMar22)}
				//鼠标移开时重设定时器
				colee.onmouseout=function(){MyMar22=setInterval(Marquee22,speed)}
				</script>
				<!--向上滚动代码结束-->
			<a href="#">
				<div class="gymore">
				>>更多
				</div>
			</a>
			<style>
.gyhd_tu{width:422px;height:246px;float:right;margin:5px 10px 0 0;position:relative;}
.gyhd_tu_1{width:120px;height:85px;background:#fff;position:absolute;left:14px;top:37px;border:6px solid #fff;}
.gyhd_tu_2{width:113px;height:77px;background:#fff;position:absolute;left:160px;top:43px;border:6px solid #fff;}
.gyhd_tu_3{width:90px;height:61px;background:#fff;position:absolute;right:22px;top:42px;border:6px solid #fff;}
.gyhd_tu_4{width:102px;height:70px;background:#fff;position:absolute;left:28px;top:158px;border:6px solid #fff;z-index:9;}
.gyhd_tu_5{width:98px;height:68px;background:#fff;position:absolute;left:163px;top:156px;border:6px solid #fff;}
.gyhd_tu_6{width:115px;height:80px;background:#fff;position:absolute;right:13px;top:151px;border:6px solid #fff;}
			</style>
			<div class="gyhd_tu">
				<div class="gyhd_tu_1" id="gyhd_tu_1">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 0,1" id="hdtx">
						<img src="{$hdtx.thumb}" style="width:120px;height:85px;" />
					</Joyeasy:list>					
				</div>
				<div class="gyhd_tu_2" id="gyhd_tu_2">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 1,1" id="hdtx">
						<img src="{$hdtx.thumb}" style="width:113px;height:77px;" />
					</Joyeasy:list>					
				</div>
				<div class="gyhd_tu_3" id="gyhd_tu_3">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 2,1" id="hdtx">
						<img src="{$hdtx.thumb}" style="width:90px;height:61px;" />
					</Joyeasy:list>					
				</div>
				<div class="gyhd_tu_4" id="gyhd_tu_4">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 3,1" id="hdtx">
						<img src="{$hdtx.thumb}" style="width:102px;height:70px;" />
					</Joyeasy:list>					
				</div>
				<div class="gyhd_tu_5" id="gyhd_tu_5">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 4,1" id="hdtx">
						<img src="{$hdtx.thumb}" style="width:98px;height:68px;" />
					</Joyeasy:list>					
				</div>
				<div class="gyhd_tu_6" id="gyhd_tu_6">
					<Joyeasy:list sql="SELECT * FROM `yey_huodong` where catid=$hdid[id] order by createtime desc limit 5,1" id="hdtx">
						<img src="{$hdtx.thumb}" style="width:115px;height:80px;" />
					</Joyeasy:list>					
				</div>
			</div>
			<div class="clear"></div>
		</div>
		<script type="text/javascript">
		$(function(){
			$('#gyhd_tu_1').rotate(-13);
			$('#gyhd_tu_2').rotate(11);
			$('#gyhd_tu_3').rotate(15);
			$('#gyhd_tu_4').rotate(22);
			$('#gyhd_tu_5').rotate(-10);
			$('#gyhd_tu_6').rotate(-4);
		});
		</script>

		<!--各园gysanpai-->

<include file="Public:footer2"/>
